package com.mc.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mc.dao.ResearchLabMapper;
import com.mc.model.ResearchLab;
import com.mc.service.IResearchLabService;
@Service
public class ResearchLabServiceImpl implements IResearchLabService{

	
	@Autowired private ResearchLabMapper labMapper;
	@Override
	public int deleteByPrimaryKey(Integer researchlabId) {
		// TODO Auto-generated method stub
		return labMapper.deleteByPrimaryKey(researchlabId);
	}

	@Override
	public int insert(ResearchLab record) {
		// TODO Auto-generated method stub
		return labMapper.insert(record);
	}

	@Override
	public int insertSelective(ResearchLab record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public ResearchLab selectByPrimaryKey(Integer researchlabId) {
		// TODO Auto-generated method stub
		return labMapper.selectByPrimaryKey(researchlabId);
	}

	@Override
	public int updateByPrimaryKeySelective(ResearchLab record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKeyWithBLOBs(ResearchLab record) {
		// TODO Auto-generated method stub
		return labMapper.updateByPrimaryKeyWithBLOBs(record);
	}

	@Override
	public int updateByPrimaryKey(ResearchLab record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<ResearchLab> selectAllResearchLab() {
		// TODO Auto-generated method stub
		return labMapper.selectAllResearchLab();
	}

}
